home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1999 …ember: Reference Library / Apple Developer Reference Library (December 1999) (Disk 1).iso / pc / technical documentation / develop / develop issue 20 / develop issue 20 code / scripting the finder.sea / Scripting the Finder / Finder Snapshot / StringUtilities.h < prev   
MacBinary  |  1994-10-04  |  3.3 KB  |  [TEXT/MMCC]

open in: MacOS 8.1     |     Win98     |     DOS

browse contents    |     view JSON data     |     view as text


This file was processed as: MacBinary (archive/macBinary).

ConfidenceProgramDetectionMatch TypeSupport
10% dexvert MacBinary (archive/macBinary) fallback Supported
1% dexvert Text File (text/txt) fallback Supported
100% file MacBinary II, inited, Tue Oct 4 22:29:23 1994, modified Tue Oct 4 22:29:23 1994, creator 'MMCC', type ASCII, 2781 bytes "StringUtilities.h" , at 0xb5d 382 bytes resource default (weak)
99% file data default
74% TrID Macintosh plain text (MacBinary) default
25% TrID MacBinary 2 default (weak)
100% siegfried fmt/1762 MacBinary (II) default
100% lsar MacBinary default


id metadata
keyvalue
macFileType[TEXT]
macFileCreator[MMCC]



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 11 53 74 72 69 6e 67 | 55 74 69 6c 69 74 69 65 |..String|Utilitie|
|00000010| 73 2e 68 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |s.h.....|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 54 45 58 54 4d 4d 43 | 43 01 00 00 00 00 00 00 |.TEXTMMC|C.......|
|00000050| 00 00 00 00 00 0a dd 00 | 00 01 7e aa b7 c0 03 aa |........|..~.....|
|00000060| b7 c0 03 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 a4 d5 00 00 |........|........|
|00000080| 2f 2a 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |/*======|========|
|00000090| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|000000a0| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|000000b0| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|000000c0| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|000000d0| 3d 3d 0d 09 73 74 72 69 | 6e 67 55 74 69 6c 69 74 |==..stri|ngUtilit|
|000000e0| 69 65 73 2e 68 0d 09 0d | 09 a9 31 39 39 31 2d 32 |ies.h...|..1991-2|
|000000f0| 20 47 72 65 67 20 41 6e | 64 65 72 73 6f 6e 0d 09 | Greg An|derson..|
|00000100| 67 72 65 67 67 6f 72 40 | 61 70 70 6c 65 2e 63 6f |greggor@|apple.co|
|00000110| 6d 0d 09 09 0d 09 54 68 | 69 73 20 2e 68 20 66 69 |m.....Th|is .h fi|
|00000120| 6c 65 20 70 72 6f 76 69 | 64 65 73 20 6d 61 63 72 |le provi|des macr|
|00000130| 6f 73 20 66 6f 72 20 73 | 63 61 6e 6e 69 6e 67 20 |os for s|canning |
|00000140| 74 68 72 6f 75 67 68 20 | 73 74 72 69 6e 67 73 2e |through |strings.|
|00000150| 0d 09 49 74 20 69 73 20 | 61 73 73 75 6d 65 64 20 |..It is |assumed |
|00000160| 74 68 61 74 20 61 6c 6c | 20 73 74 72 69 6e 67 73 |that all| strings|
|00000170| 20 62 65 69 6e 67 20 73 | 63 61 6e 6e 65 64 20 61 | being s|canned a|
|00000180| 72 65 20 6e 75 6c 6c 2d | 74 65 72 6d 69 6e 61 74 |re null-|terminat|
|00000190| 65 64 0d 09 09 0d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |ed....==|========|
|000001a0| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|000001b0| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|000001c0| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|000001d0| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|000001e0| 3d 3d 3d 3d 3d 3d 2a 2f | 0d 23 69 66 6e 64 65 66 |======*/|.#ifndef|
|000001f0| 20 5f 5f 53 54 52 49 4e | 47 55 54 49 4c 49 54 49 | __STRIN|GUTILITI|
|00000200| 45 53 5f 5f 0d 23 64 65 | 66 69 6e 65 20 5f 5f 53 |ES__.#de|fine __S|
|00000210| 54 52 49 4e 47 55 54 49 | 4c 49 54 49 45 53 5f 5f |TRINGUTI|LITIES__|
|00000220| 0d 0d 23 69 66 6e 64 65 | 66 20 5f 5f 54 59 50 45 |..#ifnde|f __TYPE|
|00000230| 53 5f 5f 0d 23 69 6e 63 | 6c 75 64 65 20 3c 54 79 |S__.#inc|lude <Ty|
|00000240| 70 65 73 2e 68 3e 0d 23 | 65 6e 64 69 66 0d 0d 23 |pes.h>.#|endif..#|
|00000250| 64 65 66 69 6e 65 20 49 | 73 44 69 67 69 74 28 63 |define I|sDigit(c|
|00000260| 29 09 09 09 28 20 28 28 | 63 29 20 3e 3d 20 27 30 |)...( ((|c) >= '0|
|00000270| 27 29 20 26 26 20 28 28 | 63 29 20 3c 3d 20 27 39 |') && ((|c) <= '9|
|00000280| 27 29 20 29 0d 23 64 65 | 66 69 6e 65 20 49 73 4e |') ).#de|fine IsN|
|00000290| 75 6d 65 72 69 63 28 63 | 29 09 09 28 20 49 73 44 |umeric(c|)..( IsD|
|000002a0| 69 67 69 74 28 63 29 20 | 7c 7c 20 28 28 63 29 20 |igit(c) ||| ((c) |
|000002b0| 3d 3d 20 27 2d 27 29 20 | 29 0d 23 64 65 66 69 6e |== '-') |).#defin|
|000002c0| 65 20 49 73 41 6c 70 68 | 61 28 63 29 09 09 09 28 |e IsAlph|a(c)...(|
|000002d0| 20 28 20 28 28 63 29 20 | 3e 3d 20 27 41 27 29 20 | ( ((c) |>= 'A') |
|000002e0| 26 26 20 28 28 63 29 20 | 3c 3d 20 27 5a 27 29 20 |&& ((c) |<= 'Z') |
|000002f0| 29 20 7c 7c 20 28 20 28 | 28 63 29 20 3e 3d 20 27 |) || ( (|(c) >= '|
|00000300| 61 27 29 20 26 26 20 28 | 28 63 29 20 3c 3d 20 27 |a') && (|(c) <= '|
|00000310| 7a 27 29 20 29 20 29 0d | 23 64 65 66 69 6e 65 20 |z') ) ).|#define |
|00000320| 49 73 41 6c 70 68 61 4e | 75 6d 65 72 69 63 28 63 |IsAlphaN|umeric(c|
|00000330| 29 09 28 20 49 73 4e 75 | 6d 65 72 69 63 28 63 29 |).( IsNu|meric(c)|
|00000340| 20 7c 7c 20 49 73 41 6c | 70 68 61 28 63 29 20 29 | || IsAl|pha(c) )|
|00000350| 0d 23 64 65 66 69 6e 65 | 20 49 73 57 68 69 74 65 |.#define| IsWhite|
|00000360| 53 70 61 63 65 28 63 29 | 09 09 28 20 28 63 29 20 |Space(c)|..( (c) |
|00000370| 3c 3d 20 27 20 27 20 29 | 0d 0d 2f 2a 0d 2f 2f 20 |<= ' ' )|../*.// |
|00000380| 4d 61 63 72 6f 73 3a 0d | 2f 2f 0d 2f 2f 20 54 6f |Macros:.|//.// To|
|00000390| 55 70 70 65 72 28 63 29 | 0d 2f 2f 0d 2f 2f 09 09 |Upper(c)|.//.//..|
|000003a0| 43 6f 6e 76 65 72 74 20 | 27 63 27 20 74 6f 20 61 |Convert |'c' to a|
|000003b0| 6e 20 75 70 70 65 72 63 | 61 73 65 20 63 68 61 72 |n upperc|ase char|
|000003c0| 61 63 74 65 72 20 69 66 | 20 69 74 20 69 73 20 61 |acter if| it is a|
|000003d0| 20 6c 6f 77 65 72 63 61 | 73 65 20 63 68 61 72 61 | lowerca|se chara|
|000003e0| 63 74 65 72 0d 2f 2f 0d | 2f 2f 20 53 6b 69 70 54 |cter.//.|// SkipT|
|000003f0| 6f 57 68 69 74 65 53 70 | 61 63 65 28 70 29 0d 2f |oWhiteSp|ace(p)./|
|00000400| 2f 0d 2f 2f 09 09 53 6b | 69 70 20 74 6f 20 74 68 |/.//..Sk|ip to th|
|00000410| 65 20 6e 65 78 74 20 77 | 68 69 74 65 73 70 61 63 |e next w|hitespac|
|00000420| 65 20 63 68 61 72 61 63 | 74 65 72 20 28 6f 72 20 |e charac|ter (or |
|00000430| 6e 75 6c 6c 29 0d 2f 2f | 0d 2f 2f 20 53 6b 69 70 |null).//|.// Skip|
|00000440| 50 61 73 74 57 68 69 74 | 65 73 70 61 63 65 28 70 |PastWhit|espace(p|
|00000450| 29 0d 2f 2f 0d 2f 2f 09 | 09 53 6b 69 70 20 74 6f |).//.//.|.Skip to|
|00000460| 20 74 68 65 20 6e 65 78 | 74 20 6e 6f 6e 2d 77 68 | the nex|t non-wh|
|00000470| 69 74 65 73 70 61 63 65 | 20 63 68 61 72 61 63 74 |itespace| charact|
|00000480| 65 72 20 28 6f 72 20 6e | 75 6c 6c 29 0d 2f 2f 0d |er (or n|ull).//.|
|00000490| 2f 2f 20 53 6b 69 70 54 | 6f 53 70 65 63 28 70 2c |// SkipT|oSpec(p,|
|000004a0| 73 70 65 63 29 0d 2f 2f | 0d 2f 2f 09 09 53 6b 69 |spec).//|.//..Ski|
|000004b0| 70 20 74 6f 20 74 68 65 | 20 6e 65 78 74 20 6f 63 |p to the| next oc|
|000004c0| 63 75 72 61 6e 63 65 20 | 6f 66 20 74 68 65 20 73 |curance |of the s|
|000004d0| 70 65 63 69 66 69 65 64 | 20 63 68 61 72 61 63 74 |pecified| charact|
|000004e0| 65 72 20 28 6f 72 20 6e | 75 6c 6c 29 0d 2f 2f 0d |er (or n|ull).//.|
|000004f0| 2f 2f 20 53 6b 69 70 54 | 6f 44 69 67 69 74 28 70 |// SkipT|oDigit(p|
|00000500| 29 0d 2f 2f 0d 2f 2f 09 | 09 53 6b 69 70 20 74 6f |).//.//.|.Skip to|
|00000510| 20 74 68 65 20 6e 65 78 | 74 20 6e 75 6d 65 72 69 | the nex|t numeri|
|00000520| 63 20 64 69 67 69 74 20 | 28 6f 72 20 6e 75 6c 6c |c digit |(or null|
|00000530| 29 0d 2f 2f 0d 2f 2f 20 | 53 6b 69 70 54 6f 4e 65 |).//.// |SkipToNe|
|00000540| 78 74 4c 69 6e 65 28 70 | 29 0d 2f 2f 0d 2f 2f 09 |xtLine(p|).//.//.|
|00000550| 09 4c 69 6b 65 20 69 74 | 20 73 61 79 73 3a 20 20 |.Like it| says: |
|00000560| 73 6b 69 70 20 74 6f 20 | 74 68 65 20 62 65 67 69 |skip to |the begi|
|00000570| 6e 6e 69 6e 67 20 6f 66 | 20 74 68 65 20 6e 65 78 |nning of| the nex|
|00000580| 74 20 6c 69 6e 65 0d 2a | 2f 0d 23 64 65 66 69 6e |t line.*|/.#defin|
|00000590| 65 20 54 6f 55 70 70 65 | 72 28 63 29 20 28 20 28 |e ToUppe|r(c) ( (|
|000005a0| 28 63 20 3e 3d 20 27 61 | 27 29 20 26 26 20 28 63 |(c >= 'a|') && (c|
|000005b0| 20 3c 3d 20 27 7a 27 29 | 29 20 3f 20 63 20 2d 20 | <= 'z')|) ? c - |
|000005c0| 27 61 27 20 2b 20 27 41 | 27 20 3a 20 63 20 29 0d |'a' + 'A|' : c ).|
|000005d0| 23 64 65 66 69 6e 65 20 | 53 6b 69 70 54 6f 57 68 |#define |SkipToWh|
|000005e0| 69 74 65 73 70 61 63 65 | 28 20 6c 69 6e 65 20 29 |itespace|( line )|
|000005f0| 20 77 68 69 6c 65 28 20 | 2a 28 6c 69 6e 65 29 20 | while( |*(line) |
|00000600| 3e 20 27 20 27 20 29 20 | 28 6c 69 6e 65 29 2b 2b |> ' ' ) |(line)++|
|00000610| 0d 23 64 65 66 69 6e 65 | 20 53 6b 69 70 50 61 73 |.#define| SkipPas|
|00000620| 74 57 68 69 74 65 73 70 | 61 63 65 28 20 6c 69 6e |tWhitesp|ace( lin|
|00000630| 65 20 29 20 77 68 69 6c | 65 28 20 28 2a 28 6c 69 |e ) whil|e( (*(li|
|00000640| 6e 65 29 20 3c 3d 20 27 | 20 27 29 20 26 26 20 28 |ne) <= '| ') && (|
|00000650| 2a 28 6c 69 6e 65 29 20 | 21 3d 20 27 5c 72 27 29 |*(line) |!= '\r')|
|00000660| 20 26 26 20 28 2a 28 6c | 69 6e 65 29 29 20 29 20 | && (*(l|ine)) ) |
|00000670| 28 6c 69 6e 65 29 2b 2b | 0d 23 64 65 66 69 6e 65 |(line)++|.#define|
|00000680| 20 53 6b 69 70 54 6f 53 | 70 65 63 28 20 6c 69 6e | SkipToS|pec( lin|
|00000690| 65 2c 20 73 70 65 63 20 | 29 20 77 68 69 6c 65 28 |e, spec |) while(|
|000006a0| 20 28 2a 28 6c 69 6e 65 | 29 20 21 3d 20 73 70 65 | (*(line|) != spe|
|000006b0| 63 29 20 26 26 20 28 2a | 28 6c 69 6e 65 29 29 20 |c) && (*|(line)) |
|000006c0| 29 20 28 6c 69 6e 65 29 | 2b 2b 0d 23 64 65 66 69 |) (line)|++.#defi|
|000006d0| 6e 65 20 53 6b 69 70 54 | 6f 44 69 67 69 74 28 20 |ne SkipT|oDigit( |
|000006e0| 6c 69 6e 65 20 29 20 77 | 68 69 6c 65 28 20 28 28 |line ) w|hile( ((|
|000006f0| 2a 28 6c 69 6e 65 29 20 | 3c 20 27 30 27 29 20 7c |*(line) |< '0') ||
|00000700| 7c 20 28 2a 28 6c 69 6e | 65 29 20 3e 20 27 39 27 || (*(lin|e) > '9'|
|00000710| 29 29 20 26 26 20 28 2a | 28 6c 69 6e 65 29 29 20 |)) && (*|(line)) |
|00000720| 29 20 28 6c 69 6e 65 29 | 2b 2b 0d 23 64 65 66 69 |) (line)|++.#defi|
|00000730| 6e 65 20 53 6b 69 70 54 | 6f 4e 65 78 74 4c 69 6e |ne SkipT|oNextLin|
|00000740| 65 28 20 6c 69 6e 65 20 | 29 20 64 6f 7b 20 53 6b |e( line |) do{ Sk|
|00000750| 69 70 54 6f 53 70 65 63 | 28 6c 69 6e 65 2c 20 27 |ipToSpec|(line, '|
|00000760| 5c 72 27 29 3b 20 77 68 | 69 6c 65 28 20 28 2a 28 |\r'); wh|ile( (*(|
|00000770| 6c 69 6e 65 29 20 3c 20 | 27 20 27 29 20 26 26 20 |line) < |' ') && |
|00000780| 28 2a 28 6c 69 6e 65 29 | 29 20 29 20 28 6c 69 6e |(*(line)|) ) (lin|
|00000790| 65 29 2b 2b 3b 20 7d 20 | 77 68 69 6c 65 28 66 61 |e)++; } |while(fa|
|000007a0| 6c 73 65 29 0d 0d 2f 2a | 0d 2f 2f 20 50 72 6f 74 |lse)../*|.// Prot|
|000007b0| 6f 74 79 70 65 73 20 66 | 6f 72 20 73 74 72 69 6e |otypes f|or strin|
|000007c0| 67 55 74 69 6c 69 74 69 | 65 73 2e 63 0d 2a 2f 0d |gUtiliti|es.c.*/.|
|000007d0| 76 6f 69 64 09 09 09 09 | 50 74 6f 43 63 70 79 28 |void....|PtoCcpy(|
|000007e0| 20 63 68 61 72 2a 20 63 | 73 74 72 2c 20 53 74 72 | char* c|str, Str|
|000007f0| 32 35 35 20 70 73 74 72 | 20 29 3b 0d 76 6f 69 64 |255 pstr| );.void|
|00000800| 09 09 09 09 43 74 6f 50 | 63 70 79 28 20 20 53 74 |....CtoP|cpy( St|
|00000810| 72 32 35 35 20 70 73 74 | 72 2c 20 63 68 61 72 2a |r255 pst|r, char*|
|00000820| 20 63 73 74 72 20 29 3b | 0d 73 68 6f 72 74 09 09 | cstr );|.short..|
|00000830| 09 09 50 74 6f 43 63 6d | 70 28 20 53 74 72 32 35 |..PtoCcm|p( Str25|
|00000840| 35 20 70 73 74 72 2c 20 | 63 68 61 72 2a 20 63 73 |5 pstr, |char* cs|
|00000850| 74 72 20 29 3b 0d 70 61 | 73 63 61 6c 20 76 6f 69 |tr );.pa|scal voi|
|00000860| 64 09 09 09 70 73 74 72 | 63 70 79 28 20 53 74 72 |d...pstr|cpy( Str|
|00000870| 32 35 35 20 64 65 73 74 | 2c 20 53 74 72 32 35 35 |255 dest|, Str255|
|00000880| 20 73 72 63 20 29 3b 0d | 70 61 73 63 61 6c 20 76 | src );.|pascal v|
|00000890| 6f 69 64 09 09 09 70 73 | 74 72 63 61 74 28 20 53 |oid...ps|trcat( S|
|000008a0| 74 72 32 35 35 20 64 65 | 73 74 2c 20 53 74 72 32 |tr255 de|st, Str2|
|000008b0| 35 35 20 73 72 63 20 29 | 3b 0d 73 68 6f 72 74 09 |55 src )|;.short.|
|000008c0| 09 09 09 70 73 74 72 63 | 6d 70 28 20 75 6e 73 69 |...pstrc|mp( unsi|
|000008d0| 67 6e 65 64 20 63 68 61 | 72 2a 20 61 2c 20 75 6e |gned cha|r* a, un|
|000008e0| 73 69 67 6e 65 64 20 63 | 68 61 72 2a 20 62 20 29 |signed c|har* b )|
|000008f0| 3b 0d 73 68 6f 72 74 09 | 09 09 09 70 61 72 74 69 |;.short.|...parti|
|00000900| 61 6c 73 74 72 63 6d 70 | 28 20 72 65 67 69 73 74 |alstrcmp|( regist|
|00000910| 65 72 20 63 68 61 72 2a | 20 73 31 2c 20 72 65 67 |er char*| s1, reg|
|00000920| 69 73 74 65 72 20 63 68 | 61 72 2a 20 73 32 29 3b |ister ch|ar* s2);|
|00000930| 0d 73 68 6f 72 74 09 09 | 09 09 53 63 61 6e 4e 75 |.short..|..ScanNu|
|00000940| 6d 62 65 72 49 6e 53 74 | 72 69 6e 67 28 20 63 68 |mberInSt|ring( ch|
|00000950| 61 72 2a 2a 20 6c 69 6e | 65 20 29 3b 0d 73 68 6f |ar** lin|e );.sho|
|00000960| 72 74 09 09 09 09 4e 75 | 6d 62 65 72 49 6e 53 74 |rt....Nu|mberInSt|
|00000970| 72 69 6e 67 28 20 63 68 | 61 72 2a 20 6c 69 6e 65 |ring( ch|ar* line|
|00000980| 20 29 3b 0d 76 6f 69 64 | 09 09 09 09 53 63 61 6e | );.void|....Scan|
|00000990| 54 65 78 74 49 6e 53 74 | 72 69 6e 67 28 20 63 68 |TextInSt|ring( ch|
|000009a0| 61 72 2a 2a 20 6c 69 6e | 65 2c 20 53 74 72 32 35 |ar** lin|e, Str25|
|000009b0| 35 20 70 73 74 72 2c 20 | 42 6f 6f 6c 65 61 6e 20 |5 pstr, |Boolean |
|000009c0| 74 65 72 6d 69 6e 61 74 | 65 41 74 53 70 61 63 65 |terminat|eAtSpace|
|000009d0| 20 29 3b 0d 76 6f 69 64 | 09 09 09 09 53 63 61 6e | );.void|....Scan|
|000009e0| 57 6f 72 64 49 6e 53 74 | 72 69 6e 67 28 20 63 68 |WordInSt|ring( ch|
|000009f0| 61 72 2a 2a 20 6c 69 6e | 65 2c 20 53 74 72 32 35 |ar** lin|e, Str25|
|00000a00| 35 20 70 73 74 72 20 29 | 3b 0d 76 6f 69 64 09 09 |5 pstr )|;.void..|
|00000a10| 09 09 53 63 61 6e 4c 69 | 6e 65 49 6e 53 74 72 69 |..ScanLi|neInStri|
|00000a20| 6e 67 28 20 63 68 61 72 | 2a 2a 20 6c 69 6e 65 2c |ng( char|** line,|
|00000a30| 20 53 74 72 32 35 35 20 | 70 73 74 72 20 29 3b 0d | Str255 |pstr );.|
|00000a40| 0d 76 6f 69 64 09 09 09 | 09 41 64 64 48 65 78 43 |.void...|.AddHexC|
|00000a50| 68 61 72 54 6f 53 74 72 | 69 6e 67 28 20 63 68 61 |harToStr|ing( cha|
|00000a60| 72 2a 20 77 68 65 72 65 | 2c 20 75 6e 73 69 67 6e |r* where|, unsign|
|00000a70| 65 64 20 73 68 6f 72 74 | 20 68 65 78 4e 75 6d 62 |ed short| hexNumb|
|00000a80| 65 72 20 29 3b 0d 76 6f | 69 64 09 09 09 09 41 64 |er );.vo|id....Ad|
|00000a90| 64 48 65 78 42 79 74 65 | 54 6f 53 74 72 69 6e 67 |dHexByte|ToString|
|00000aa0| 28 20 63 68 61 72 2a 20 | 77 68 65 72 65 2c 20 75 |( char* |where, u|
|00000ab0| 6e 73 69 67 6e 65 64 20 | 73 68 6f 72 74 20 68 65 |nsigned |short he|
|00000ac0| 78 4e 75 6d 62 65 72 20 | 29 3b 0d 76 6f 69 64 09 |xNumber |);.void.|
|00000ad0| 09 09 09 41 64 64 48 65 | 78 53 68 6f 72 74 54 6f |...AddHe|xShortTo|
|00000ae0| 53 74 72 69 6e 67 28 20 | 63 68 61 72 2a 20 77 68 |String( |char* wh|
|00000af0| 65 72 65 2c 20 75 6e 73 | 69 67 6e 65 64 20 73 68 |ere, uns|igned sh|
|00000b00| 6f 72 74 20 68 65 78 4e | 75 6d 62 65 72 20 29 3b |ort hexN|umber );|
|00000b10| 0d 76 6f 69 64 09 09 09 | 09 41 64 64 48 65 78 4c |.void...|.AddHexL|
|00000b20| 6f 6e 67 54 6f 53 74 72 | 69 6e 67 28 20 63 68 61 |ongToStr|ing( cha|
|00000b30| 72 2a 20 77 68 65 72 65 | 2c 20 75 6e 73 69 67 6e |r* where|, unsign|
|00000b40| 65 64 20 6c 6f 6e 67 20 | 68 65 78 4e 75 6d 62 65 |ed long |hexNumbe|
|00000b50| 72 20 29 3b 0d 0d 23 65 | 6e 64 69 66 0d 00 00 00 |r );..#e|ndif....|
|00000b60| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000b70| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000b80| 00 00 01 00 00 00 01 4c | 00 00 00 4c 00 00 00 32 |.......L|...L...2|
|00000b90| 00 00 00 00 14 90 ff ff | 00 00 00 22 00 00 00 00 |........|..."....|
|00000ba0| 0d dd ff ff 00 00 00 30 | 00 00 00 00 00 00 00 48 |.......0|.......H|
|00000bb0| 11 53 74 72 69 6e 67 55 | 74 69 6c 69 74 69 65 73 |.StringU|tilities|
|00000bc0| 2e 68 02 00 00 00 54 45 | 58 54 4d 4d 43 43 01 00 |.h....TE|XTMMCC..|
|00000bd0| 00 00 54 45 58 54 4d 4d | 43 43 01 00 01 04 01 80 |..TEXTMM|CC......|
|00000be0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000bf0| 00 00 aa b7 87 c3 00 00 | 0a dd 00 00 01 7e 56 45 |........|.....~VE|
|00000c00| 48 44 4c 42 4c 4b 53 5c | 37 37 38 00 02 d6 43 48 |HDLBLKS\|778...CH|
|00000c10| 45 43 4b 4e 42 50 4c 4f | 41 44 45 44 5c 38 32 39 |ECKNBPLO|ADED\829|
|00000c20| 00 01 86 54 4d 50 45 4e | 54 49 54 59 4e 41 4d 45 |...TMPEN|TITYNAME|
|00000c30| 5c 37 37 37 00 02 0e 43 | 52 55 4e 43 48 4e 41 4d |\777...C|RUNCHNAM|
|00000c40| 45 5c 38 33 33 00 03 ac | 4e 42 50 52 45 47 49 53 |E\833...|NBPREGIS|
|00000c50| 54 45 52 00 01 b1 47 45 | 54 48 44 4c 41 4e 44 4c |TER...GE|THDLANDL|
|00000c60| 4f 43 4b 5c 37 38 36 00 | 01 47 44 4f 43 4f 4e 54 |OCK\786.|.GDOCONT|
|00000c70| 52 4f 4c 43 41 4c 4c 5c | 37 38 31 00 02 ac 45 58 |ROLCALL\|781...EX|
|00000c80| 00 00 00 48 00 09 4d 6f | 6e 61 63 6f 00 00 00 00 |...H..Mo|naco....|
|00000c90| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000ca0| 00 00 00 00 00 00 00 03 | 00 04 00 58 00 53 01 f2 |........|...X.S..|
|00000cb0| 02 c9 00 58 00 53 01 f2 | 02 c9 aa b7 82 88 00 00 |...X.S..|........|
|00000cc0| 0a dd 00 00 0a dd 00 00 | 04 b2 01 00 00 00 01 00 |........|........|
|00000cd0| 00 00 01 4c 00 00 00 4c | 00 00 00 32 01 08 0b 48 |...L...L|...2...H|
|00000ce0| 0b c2 00 00 00 1c 00 32 | 00 00 4d 50 53 52 00 00 |.......2|..MPSR..|
|00000cf0| 00 0a 03 ed ff ff 00 00 | 00 00 00 00 00 00 00 00 |........|........|
+--------+-------------------------+-------------------------+--------+--------+